Crate instability
source ·Expand description
This crate provides attribute macros for specifying API stability of public API items of a crate.
The Rust standard library has a concept of API stability and custom attributes for managing
that on a per-item basis, but most of these attributes are not available for normal crates to
use, with the exception of the deprecated
attribute. This crate seeks to provide similar
attributes on stable Rust, though tuned more toward what the needs of normal crate authors.
For complete examples of how to use this crate, check out the source code for the
instability-example
crate in the repository
Currently, only the unstable
attribute is available. Please see the documentation of that
macro for an explanation on what it does and how to use it.
Attribute Macros§
- Mark an API as unstable.